package com.yunshang.shoppingmall.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class Product implements Serializable{
    private Integer productId;

    private String productName;

    private Integer repId;

    private String productDesc;

    private String productUnit;

    private String supplier;

    private String productNo;

    private Integer classId;

    private String productUpState;

    private Timestamp uptime;

    private String productshortname;

    private String productseries;

    private String detailContent;

    private int activeSign;//活动标签

    private String proImg;//图片路劲

    private int sort;//排序

    public Integer getIsMoreAddress() {
        return isMoreAddress;
    }

    public void setIsMoreAddress(Integer isMoreAddress) {
        this.isMoreAddress = isMoreAddress;
    }

    private Integer isMoreAddress;


    public Integer getAddressCount() {
        return addressCount;
    }

    public void setAddressCount(Integer addressCount) {
        this.addressCount = addressCount;
    }

    private Integer addressCount;
    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getActiveSign() {
        return activeSign;
    }

    public void setActiveSign(int activeSign) {
        this.activeSign = activeSign;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Integer getRepId() {
        return repId;
    }

    public void setRepId(Integer repId) {
        this.repId = repId;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc == null ? null : productDesc.trim();
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit == null ? null : productUnit.trim();
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier == null ? null : supplier.trim();
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo == null ? null : productNo.trim();
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getProductUpState() {
        return productUpState;
    }

    public void setProductUpState(String productUpState) {

        this.productUpState = productUpState == null ? null : productUpState.trim();



    }

    public Timestamp getUptime() {
        return uptime;
    }

    public void setUptime(Timestamp uptime) {
        this.uptime = uptime;
    }

    public String getProductshortname() {
        return productshortname;
    }

    public void setProductshortname(String productshortname) {
        this.productshortname = productshortname == null ? null : productshortname.trim();
    }

    public String getProductseries() {
        return productseries;
    }

    public void setProductseries(String productseries) {
        this.productseries = productseries == null ? null : productseries.trim();
    }

    public String getDetailContent() {
        return detailContent;
    }

    public void setDetailContent(String detailContent) {
        this.detailContent = detailContent == null ? null : detailContent.trim();
    }

    public String getProImg() {
        return proImg;
    }

    public void setProImg(String proImg) {
        this.proImg = proImg;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", repId=" + repId +
                ", productDesc='" + productDesc + '\'' +
                ", productUnit='" + productUnit + '\'' +
                ", supplier='" + supplier + '\'' +
                ", productNo='" + productNo + '\'' +
                ", classId=" + classId +
                ", productUpState='" + productUpState + '\'' +
                ", uptime=" + uptime +
                ", productshortname='" + productshortname + '\'' +
                ", productseries='" + productseries + '\'' +
                ", detailContent='" + detailContent + '\'' +
                ", activeSign=" + activeSign +
                ", proImg='" + proImg + '\'' +
                ", sort=" + sort +
                ", isMoreAddress=" + isMoreAddress +
                ", addressCount=" + addressCount +
                '}';
    }
}